
import { invert } from 'lodash';

export const Blockers = {
  3: true,
  16: true,
  17: true,
  33: true,
  37: true,
  38: true,
  39: true,
  44: true,
  45: true,
  46: true,
  47: true,
  50: true,
  53: true,
  54: true,
  55: true,
  56: true,
  57: true,
  81: true,
  83: true,
  160: true,
  161: true
};

export const GidMap = {
  1: 'StairsDown',
  2: 'StairsUp',
  3: 'BrickWall',
  4: 'Grass',
  5: 'Water',
  6: 'Lava',
  7: 'Tile',
  8: 'Ice',
  9: 'Forest',
  10: 'Sand',
  11: 'Swamp',
  12: 'BlueNPC',
  13: 'RedNPC',
  14: 'GreenNPC',
  15: 'QuestionMark',
  16: 'Tree',
  17: 'Mountain',
  18: 'Door',
  19: 'Dirt',
  20: 'FighterTrainer',
  21: 'MageTrainer',
  22: 'ClericTrainer',
  23: 'JesterTrainer',
  24: 'RogueTrainer',
  25: 'GeneralistTrainer',
  26: 'Boss',
  27: 'Chest',
  28: 'PurpleTeleport',
  29: 'RedTeleport',
  30: 'YellowTeleport',
  31: 'GreenTeleport',
  32: 'BlueTeleport',
  33: 'Cloud',
  34: 'Wood',
  35: 'Hole',
  36: 'Gravel',
  37: 'Mushroom',
  38: 'StoneWall',
  39: 'Box',
  40: 'LadderUp',
  41: 'LadderDown',
  42: 'RopeUp',
  43: 'RopeDown',
  44: 'Table',
  45: 'Pot',
  46: 'Barrel',
  47: 'Bed',
  48: 'Sign',
  49: 'Carpet',
  50: 'CrumblingBrick',
  51: 'Skeleton',
  52: 'Snow',
  53: 'Fence',
  54: 'Dead Tree',
  55: 'Palm Tree',
  56: 'Cactus',
  57: 'Pillar',
  58: 'StoneDoor',
  59: 'Chair',
  60: 'GoldPile',
  61: 'Bloodstain',
  62: 'FenceGate',
  63: 'Glowcloud',
  64: 'ArcherTrainer',
  65: 'PirateTrainer',
  66: 'MagicalMonsterTrainer',
  67: 'MonsterTrainer',
  68: 'BarbarianTrainer',
  69: 'BardTrainer',
  70: 'SandwichArtistTrainer',
  71: 'NecromancerTrainer',
  72: 'BitomancerTrainer',
  73: 'NotABear',
  74: 'AstronomicalEntity',
  75: 'TownCrier',
  76: 'LootSack',
  77: 'LootSackWithSword',
  78: 'EmptyLootSack',
  79: 'Tombstone',
  80: 'Astral',
  81: 'NightSky',
  82: 'Acid',
  83: 'TreeStump',
  84: 'AntiShrine',
  85: 'Shrine',
  86: 'Merchant',
  87: 'JailDoor',
  88: 'StoneJailDoor',
  89: 'BlueFighter',
  90: 'RedFighter',
  91: 'GreenFighter',
  92: 'GoldFighter',
  93: 'BlueMage',
  94: 'RedMage',
  95: 'GreenMage',
  96: 'GoldMage',
  97: 'BlueCleric',
  98: 'RedCleric',
  99: 'GreenCleric',
  100: 'GoldCleric',
  101: 'BlueJester',
  102: 'RedJester',
  103: 'GreenJester',
  104: 'GoldJester',
  105: 'BlueRogue',
  106: 'RedRogue',
  107: 'GreenRogue',
  108: 'GoldRogue',
  109: 'BlueGeneralist',
  110: 'RedGeneralist',
  111: 'GreenGeneralist',
  112: 'GoldGeneralist',
  113: 'BlueArcher',
  114: 'RedArcher',
  115: 'GreenArcher',
  116: 'GoldArcher',
  117: 'BluePirate',
  118: 'RedPirate',
  119: 'GreenPirate',
  120: 'GoldPirate',
  121: 'BlueMagicalMonster',
  122: 'RedMagicalMonster',
  123: 'GreenMagicalMonster',
  124: 'GoldMagicalMonster',
  125: 'BlueMonster',
  126: 'RedMonster',
  127: 'GreenMonster',
  128: 'GoldMonster',
  129: 'BlueBarbarian',
  130: 'RedBarbarian',
  131: 'GreenBarbarian',
  132: 'GoldBarbarian',
  133: 'BlueBard',
  134: 'RedBard',
  135: 'GreenBard',
  136: 'GoldBard',
  137: 'BlueSandwichArtist',
  138: 'RedSandwichArtist',
  139: 'GreenSandwichArtist',
  140: 'GoldSandwichArtist',
  141: 'BlueNecromancer',
  142: 'RedNecromancer',
  143: 'GreenNecromancer',
  144: 'GoldNecromancer',
  145: 'BlueBitomancer',
  146: 'RedBitomancer',
  147: 'GreenBitomancer',
  149: 'GoldBitomancer',
  150: 'GambleShrine',
  151: 'GreenBoss',
  152: 'BlueBoss',
  153: 'GoldBoss',
  154: 'GreenMale',
  155: 'RedFemale',
  156: 'VeteranBear',
  157: 'VeteranGlowcloud',
  158: 'Soap',
  159: 'RuinedTombstone',
  160: 'Armoire',
  161: 'Bookcase',
  162: 'Bookshelf',
  163: 'HangingSign',
  164: 'SentientSword',
  165: 'DwarfMale',
  166: 'DwarfFemale'
};

export const RevGidMap = invert(GidMap);
